package com.topfun.vo;


import com.topfun.utils.DateUtil;

/**
 * Created by huangda on 2017/8/23.
 * 商品兑换记录
 */
public class GoodsChangeRecord {
    // ===========================================================
    // Constants
    // ===========================================================

    // ===========================================================
    // Fields
    // ===========================================================
    public long seqId;
    public long userId;
    public long goodsId;
    public String goodsExtendIds;
    public long userAddressId;
    public String createTime;

    public String name;
    public String description;
    public String image;
    public int price;
    public int changePrice;
    // ===========================================================
    // Constructors
    // ===========================================================



    public GoodsChangeRecord(){
        this.createTime = DateUtil.getDateTimeString();
    }

    public GoodsChangeRecord(long userId,long goodsId,String goodsExtendIds,long userAddressId){
        this.userId = userId;
        this.goodsId = goodsId;
        this.goodsExtendIds = goodsExtendIds;
        this.userAddressId = userAddressId;
        this.createTime = DateUtil.getDateTimeString();
    }
    // ===========================================================
    // Getter &amp; Setter
    // ===========================================================

    public long getSeqId() {
        return seqId;
    }

    public long getUserId() {
        return userId;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public String getGoodsExtendIds() {
        return goodsExtendIds;
    }

    public long getUserAddressId() {
        return userAddressId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public String getImage() {
        return image;
    }

    public int getPrice() {
        return price;
    }

    public int getChangePrice() {
        return changePrice;
    }

    // ===========================================================
    // Methods for/from SuperClass/Interfaces
    // ===========================================================

    // ===========================================================
    // Methods
    // ===========================================================

    // ===========================================================
    // Inner and Anonymous Classes
    // ===========================================================
}
